tickTime=2000
dataDir={{ zookeeper_data_dir }}
clientPort=2181
initLimit=5
syncLimit=2
server.1={{ hostvars[groups['ecs_kafka'][0]]['ansible_host'] if groups['ecs_kafka'][0] is defined else 'localhost' }}:2888:3888
{% for server in groups['ecs_kafka'][1:] %}
server.{{ loop.index + 1 }}={{ hostvars[server]['ansible_host'] }}:2888:3888
{% endfor %}
admin.serverPort=8081
